import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 1. 重置样式的库
import 'normalize.css'
// 2. 自己项目的重置样式和公用样式
import '@/assets/styles/common.less'
// 导入自己UI组件库
import UI from '@/components/library/index'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// mockjs
import '@/mock'

new Vue({
  router,
  store,
  UI,
  render: h => h(App)
}).$mount('#app')
